﻿/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/*重置样式--开始*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    font-size: 14px;
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*重置样式--结束*/

/*通用样式--开始*/
.hidden {
    display: none;
}
/*通用样式--结束*/

/*项目样式--开始*/
html,body {
    width: 100%;
    height: 100%;
    min-height: 100%;
}
.wrapper {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

#nav_main {
    position: fixed;
    left: 0px;
    bottom: 0px;
    z-index: 1;
    background: url('../images/nav_main_bg_60.png') center center;
    width: 100%;
    height: 60px;
}

.nav_item, .middle_nav_item {
    height: 60px;
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.nav_item {
    width: 45px;
    background-position-y: 12px;
}

.middle_nav_item {
    width: calc(100vw - 270px);
}

.main {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.main:before {
    content: "";
    display: table;
}

.middle {
    margin: 0 auto;
}

.left {
    float: left;
}

.right {
    float: right;
}

.no_indent {
    text-indent: 0em;
}

.page_title {
    width: 270px;
    height: 30px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 15px;
    margin-bottom: 15px;
}

.page_content {
    width: 100%;
    height: calc(100vh - 140px);
}

/*index页样式*/
#main_index {
    background: url('../images/walking_banner.jpg') top center no-repeat;
    background-size: contain;
}

#catalog {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    width: 97%;
    padding-left: 1.5%;
    padding-right: 1.5%;
    position: absolute;
    top: 35%;
}

.catalog_item {
    display: inline-block;
    width: 45%;
    height: 55px;
    background-image: url('../images/walking_catalog_study.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 5px;
    margin-top: 10px;
}

#catalog_try {
    background-image: url('../images/walking_catalog_try.jpg');
}

#catalog_look {
    background-image: url('../images/walking_catalog_look.jpg');
}

#catalog_find {
    background-image: url('../images/walking_catalog_find.jpg');
}

#catalog_listen {
    background-image: url('../images/walking_catalog_listen.jpg');
}

#catalog_scan {
    background-image: url('../images/walking_catalog_scan.jpg');
}

#catalog_think {
    width: 95%;
    background-image: url('../images/walking_catalog_think.jpg');
}

/*study页样式*/

#study_title {
    background-image: url('../images/walking_study_title.jpg');
}

#study_content {
    background-color: #4b4947;
}

#study_content .card:before {
    content: "";
    display: table;
}

#study_content .cover {
    width: 90%;
    height: 200px;
    background-position: center center;
    background-size: cover;
    border-radius: 5px;
    margin: 15px auto;
}

#study_content .carousel {
    width: 90%;
    height: 200px;
    margin: 15px auto;
}

#study_content .cover-01 {
    background-image: url('../images/walking_study_banner01.jpg');
}
#study_content .cover-02 {
    background-image: url('../images/walking_study_banner02.jpg');
}
#study_content .cover-03 {
    background-image: url('../images/walking_study_banner03.jpg');
}
#study_content .cover-04 {
    background-image: url('../images/walking_study_banner04.jpg');
}
#study_content .cover-05 {
    background-image: url('../images/walking_study_banner05.jpg');
}
#study_content .cover-06 {
    background-image: url('../images/walking_study_banner06.jpg');
}
#study_content .cover-07 {
    background-image: url('../images/walking_study_banner07.jpg');
}
#study_content .cover-08 {
    background-image: url('../images/walking_study_banner08.jpg');
}
#study_content .cover-09 {
    background-image: url('../images/walking_study_banner09.jpg');
}
#study_content .cover-10 {
    background-image: url('../images/walking_study_banner10.jpg');
}
#study_content .cover-11 {
    background-image: url('../images/walking_study_banner11.jpg');
}
#study_content .cover-12 {
    background-image: url('../images/walking_study_banner12.jpg');
}
#study_content .cover-13 {
    background-image: url('../images/walking_study_banner13.jpg');
}
#study_content .cover-14 {
    background-image: url('../images/walking_study_banner14.jpg');
}
#study_content .cover-15 {
    background-image: url('../images/walking_study_banner15.jpg');
}
#study_content .cover-16 {
    background-image: url('../images/walking_study_banner16.jpg');
}
#study_content .cover-17 {
    background-image: url('../images/walking_study_banner17.jpg');
}
#study_content .cover-18 {
    background-image: url('../images/walking_study_banner18.jpg');
}
#study_content .cover-19 {
    background-image: url('../images/walking_study_banner19.jpg');
}
#study_content .cover-20 {
    background-image: url('../images/walking_study_banner20.jpg');
}
#study_content .cover-21 {
    background-image: url('../images/walking_study_banner21.jpg');
}
#study_content .cover-22 {
    background-image: url('../images/walking_study_banner22.jpg');
}
#study_content .cover-23 {
    background-image: url('../images/walking_study_banner23.jpg');
}
#study_content .cover-24 {
    background-image: url('../images/walking_study_banner24.jpg');
}
#study_content .cover-25 {
    background-image: url('../images/walking_study_banner25.jpg');
}
#study_content .cover-26 {
    background-image: url('../images/walking_study_banner26.jpg');
}
#study_content .cover-27 {
    background-image: url('../images/walking_study_banner27.jpg');
}

.card {
    height: calc(100% - 51px);
}

.study_intro {
    height: calc(100% - 230px);
    overflow: scroll;
}

#study_content p {
    color: #ffffff;
    line-height: 1.4;
    text-indent: 2em;
    text-align: justify;
    text-justify: inter-ideograph;
    font-size: 0.8571em;
    width: 90%;
    margin: 0 auto;
}

#study_control {
    border-top: solid 1px #aaaaaa;
    margin-top: 10px;
    height: 40px;
    text-align: center;
    font-size: 22px;
    line-height: 30px;
    color: #ffffff;
}

#study_control span {
    display: inline-block;
    background-color: #aaaaaa;
    margin: 5px 5px;
    width: 30px;
}

/*try页样式*/
#try_title {
    background-image: url('../images/walking_try_title.jpg');
}

#try_content {
    width: 90%;
    margin: 0 auto;
}

#try_content h2 {
    font-size: 1.15em;
    font-weight: normal;
    text-align: center;
    line-height: 5;
}

#try_questions {
    line-height: 2;
}

#try_questions li {
    margin-top: 15px;
    margin-bottom: 15px;
}

#try_questions .options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#try_questions .key_right {
    background: url('../images/icon/dui.png') center right no-repeat;
}

#try_questions .key_error {
    background: url('../images/icon/cuo.png') center right no-repeat;
}

#try_questions .option {
    width: 50%;
}

#try_questions .option input {
    height: 14px;
    vertical-align: text-bottom;
}



/*look页样式*/
#look_title {
    background-image: url('../images/walking_look_title.jpg');
}

#look_carousel {
    background-color: #808080;
    width: 100%;
    height: 42%;
}

.swiper-container {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background-position: center center;
    background-size: cover;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.slide-01 {
    background-image: url('../images/walking_look_banner01.jpg');
}

.slide-02 {
    background-image: url('../images/walking_look_banner02.jpg');
}

.slide-03 {
    background-image: url('../images/walking_look_banner03.jpg');
}

.slide-04 {
    background-image: url('../images/walking_look_banner04.jpg');
}

.slide-05 {
    background-image: url('../images/walking_look_banner05.jpg');
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

#look_intro {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: calc(58% - 7px);
    padding-bottom: 7px;
    background-color: #4b4947;
}

#look_intro p {
    color: #ffffff;
    line-height: 1.4;
    text-indent: 2em;
    text-align: justify;
    text-justify: inter-ideograph;
    padding: 2% 10px;
    font-size: 0.8571em;
    overflow: scroll;
}

/*find页样式*/
#find_title {
    background-image: url('../images/walking_find_title.jpg');
}

#find_content {
    display: flex;
    flex-direction: column;
    background-color: #4b4947;
    color: #ffffff;
}

#find_address {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-bottom: solid 1px #aaaaaa;
    height: 25%;
}

.address_h1 {
    font-size: 1.5em;
}

.address_h1:after {
    content: "\00A0";
    display: block;
}

#find_map {
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#find_map a {
    display: block;
    width: 90%;
    height: 225px;
    background-image: url('../images/walking_map.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

/*listen页样式*/
#listen_title {
    background-image: url('../images/walking_listen_title.jpg');
}

#listen_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #c1c1c1;
}

.music {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.music .cover {
    width: 70%;
    height: 240px;
    background-image: url('../images/walking_look_banner01.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 0px;
}

.music .btn_play, .music .btn_pause {
    display: block;
    width: 3em;
    height: 3em;
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    border: solid 2px #ffffff;
    border-radius: 50%;
}

.music .btn_play {
    background-image: url(../images/icon/btn_pause.png);
}

.music .btn_pause {
    background-image: url(../images/icon/btn_play.png);
}

/*scan页样式*/
#scan_title {
    background-image: url('../images/walking_scan_title.jpg');
}

#scan_content {
    background: url('../images/walking_scan_qrcode.jpg') no-repeat center center;
    background-size: 70%;
}

/*think页样式*/
#think_title {
    background-image: url('../images/walking_think_title.jpg');
}

#think_question {
    text-align: center;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#think_intro {
    height: 70%;
    background: url('../images/walking_think_question.jpg') no-repeat center center;
    background-size: 40%;
}

@media only screen and (min-width: 375px) {

    .page_title {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page_content {
        width: 100%;
        height: calc(100vh - 170px);
    }

    #study_content p, #look_content p {
        line-height: 1.35;
        font-size: 1em;
    }
}

@media only screen and (min-height: 667px) {
    
    .catalog_item {
        height: 70px;
    }

    #study_content .cover {
        height: 235px;
    }

    .study_intro {
        height: calc(100% - 265px);
        overflow: scroll;
    }

    #study_content p {
        line-height: 1.5;
        font-size: 1em;
    }

    #look_content p {
        line-height: 1.5;
    }

    #study_control {
        height: 50px;
        line-height: 40px;
        font-size: 24px;
    }

    #study_control span {
        width: 40px;
    }

    .card {
        height: calc(100% - 61px);
    }

    #try_questions {
        line-height: 2;
    }

    #try_questions li {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #try_questions .option {
        width: 100%;
    }

    #find_address {
        
    }

}
/*项目样式--结束*/
